package com.tk.demo.model;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@ConfigurationProperties(prefix = "people")
@Component
@Data
public class People {
    private String name;
    private int age;
    private double weight;

}
